<?php
$dtds['edit']['oldpassword']['name']  = '旧的密码';
$dtds['edit']['password']['name']  = '新的密码';
$dtds['edit']['confirm']['name']  = '确认密码';

$dtds['edit']['oldpassword']['value']['required']  = true;
$dtds['edit']['password']['value']['min_length']  = 6;
$dtds['edit']['password']['value']['max_length']  = 16;
$dtds['edit']['confirm']['value']['min_length']  = 6;
$dtds['edit']['confirm']['value']['max_length']  = 16;
$dtds['edit']['confirm']['value']['equal_to']['from']  = 'POST';
$dtds['edit']['confirm']['value']['equal_to']['name']  = 'password';

$dtds['edit']['oldpassword']['message']['required']  = "%s必填项";
$dtds['edit']['password']['message']['min_length']  = "%s最少%s个字符";
$dtds['edit']['password']['message']['max_length']  = "%s最多%s个字符";
$dtds['edit']['confirm']['message']['min_length']  = "%s最少%s个字符";
$dtds['edit']['confirm']['message']['max_length']  = "%s最多%s个字符";
$dtds['edit']['confirm']['message']['equal_to']  = "两次输入的密码不相等";